<!--
  @author wangjie
  @since 2019/06/13 13:58
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:include="common/common::jscss2"/>
<style>
    .layui-card .layui-form .layui-input-block {
        margin-left: 245px !important;
    }
    .layui-form-item .layui-input-inline{
        margin-bottom: 10px !important;
    }
</style>
<body>

<!--页面顶层div-->
<div class="layui-fluid">
    <div class="layui-card">
        <div th:replace="service/item/_detailtab::tab"></div>
        <div class="layui-card-body">
            <!--表单样式统一为layui-form(必需样式)，lay-filter属性统一定义为zmn-form-->
            <form method="POST" action="" class="layui-form" lay-filter="zmn-form">
                <input type="hidden" name="itemId" th:value="${faultItem.itemId}">
                <div class="layui-form-item">
                    <label class="layui-form-label">一级分类</label>
                    <div class="layui-input-inline" style="width: 500px">
                        <div id="partCategoryIds"></div>
                    </div>
                </div>
                <div id="categoryList">
<!--                    <div class="layui-form-item">-->
<!--                        <label class="layui-form-label">影响系数：</label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <div class="layui-input-inline" style="width: 120px">-->
<!--                                <input type="checkbox" name="hourFeeImpactfactor" value="1" title="品牌系数" />-->
<!--                            </div>-->
<!--                            <div class="layui-input-inline" style="width: 120px">-->
<!--                                <input type="checkbox" name="hourFeeImpactfactor" value="2" title="渠道系数" />-->
<!--                            </div>-->
<!--                            <div class="layui-input-inline" style="width: 120px">-->
<!--                                <input type="checkbox" name="hourFeeImpactfactor" value="3" title="城市系数" />-->
<!--                            </div>-->
<!--                        </div>-->
<!--                    </div>-->
                </div>
                <div class="layui-form-item submit">
                    <div class="layui-input-block" style="margin-left:150px !important;">
                        <button class="layui-btn" lay-submit="" lay-filter="zmn-form-submit">保存</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>
<!--主js代码置于html外-->
<!--<script src="/static/js/commonSelect.js"></script>-->
<script type="text/javascript" th:inline="javascript">
    layui.config({
        base: "/static/lay/",
        version: 2011241001241
    }).extend({
        index: "lib/index",
        serv_service_item_partList: "service/item/serv.service.item.partList"
    }).use(['index', 'serv_service_item_partList']);
    let json = {
        item: [[${item}]],
        itemParts: [[${itemParts}]],
        wmsGoodsCategories: [[${wmsGoodsCategories}]]
    }

</script>
